package ch03_test;

public class Pro2 {
	public static void main(String[] args) {
		float h=50,s=100;
		for (int i = 2; i <=10 ; i++) {
			s+=h*2;
			h/=2;
			
		}
		System.out.println("路程"+s);
		System.out.println("第10次反弹高度"+h);
	}
}
